
package com.cn.xiaonuo.slbfinances.slborders.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.cn.xiaonuo.slbfinances.slborders.entity.SlWithdrawalDetailed;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**   
 *  
 * @Description:  商家提现明细每日汇总表——DAO
 * @Author:       luyangyang   
 * @CreateDate:   SlWithdrawalDetailed
 * @Version:      V1.0
 *    
 */
@Repository
@Mapper
public interface SlWithdrawalDetailedMapper extends BaseMapper<SlWithdrawalDetailed> {
    /**
     * 合计银联支付合计
     * @param param
     * @return
     */
    BigDecimal sumAmount(SlWithdrawalDetailed param);

    /**
     * 更新打款状态
     * @param shopOrderIds
     * @return
     */
    Integer updateStatus(@Param("shopOrderIds") String[] shopOrderIds);

}
